package freespiritsocial.io.user.data.model

import androidx.annotation.ColorInt
import androidx.annotation.DrawableRes
import me.hgj.jetpackmvvm.base.appContext

data class BtnItems(
    val text: String,
    @DrawableRes val drawable: Int = -1,
    @ColorInt val textColor: Int = 0xff12161E.toInt(),
) {
    val useDrawable
        get() = if (drawable == -1) null else appContext.getDrawable(drawable)
}